<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/pubic.css" />
    <link rel="stylesheet" href="./css/gouwuche.css" />
    <link rel="stylesheet" href="./iconfont2/iconfont.css" />
  </head>
  <body onbeforeunload="SomeJavaScriptCode">
    <div class="header">
      <i class="iconfont arrow-left icon-arrow-left"></i> 购物车
    </div>
    <div class="gwc_box" style="display: none">
      <div class="content" style="display: none">
        <span class="count_a">共<i>1</i>件商品</span>
        <span class="count_b"><i class="iconfont icon-fenlei"></i>编辑</span>
      </div>
      <div class="goods"></div>
      <div class="total" style="display: none">
        <div class="total_left">
          <input type="checkbox" name="" id="" />
          <span>全选</span>
        </div>
        <div class="total_right">
          <span>合计:</span>
          <span class="prices">￥0.00</span>
          <p>去结算</p>
        </div>
      </div>
    </div>

    <div class="none" style="display: none">
      <div class="none_none">
        <img src="./imgs/empty.png" alt="" />
        <p>你的购物车是空的，快去逛逛吧</p>
        <div class="out">去逛逛</div>
      </div>
    </div>

    <div class="footer">
      <a class="footer_a" href="javascript:;">
        <span class="iconfont icon-line-mailopenyoujiandakai"></span>
        <p>首页</p>
      </a>
      <a class="footer_b">
        <span class="iconfont icon-fenlei"></span>
        <p>分类</p>
      </a>
      <a class="footer_c active">
        <span class="iconfont icon-gouwuchekong"></span>
        <p>购物车</p>
      </a>
      <a class="footer_d">
        <span class="iconfont icon-wode"></span>
        <p>我的</p>
      </a>
    </div>
    <script src="./js/axios.js"></script>
    <script src="./js/common.js"></script>
    <script src="./js/gouwuche.js"></script>
    <script>
      const out = document.querySelector('.out')
      out.addEventListener('click', function () {
        location.href = './index.html'
      })
    </script>
  </body>
</html>
